package com.luna.provide.controller;

import com.luna.provide.service.CloudService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;



@RestController
public class CloudController {


    @Autowired
    CloudService ticketService;

    @GetMapping("/cloud/{name}")
    public String getCloud(@PathVariable("name") String name){
        return ticketService.getCloud(name);
    }
}
